package com.hashbee.bbs.service.impl;

import com.hashbee.bbs.dao.ForumMapper;
import com.hashbee.bbs.domain.Forum;
import com.hashbee.bbs.service.ForumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("forumService")
public class ForumServiceImpl implements ForumService {

    @Autowired
    private ForumMapper forumMapper;

    @Override
    public List<Forum> queryList() {
        return forumMapper.selectList();
    }
}
